<?xml version="1.0" encoding="UTF-8"?>
<!-- 
    Document   : EC2RunInstance
    Created on : Jul 13, 2008, 7:39:25 PM
    Author     : Sean ODell
-->
<jsp:root version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:webuijsf="http://www.sun.com/webui/webuijsf">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
        <webuijsf:page id="page1">
            <webuijsf:html id="html1">
                <webuijsf:head id="head1" title="OPC Manager - Launch Instances">
                    <webuijsf:link id="link1" url="/resources/stylesheet.css"/>
                </webuijsf:head>
                <webuijsf:body id="body1" style="-rave-layout: grid">
                    <webuijsf:form id="form1">
                        <webuijsf:panelLayout id="layoutPanel1" panelLayout="flow" style="border: 1px solid rgb(0, 0, 0); margin: 5px; padding: 5px; left: 2px; top: 74px; position: absolute">
                            <h:panelGrid id="gridPanel3" style="position: static">
                                <webuijsf:label id="l_InstAMI" style="text-align: left; text-decoration: underline" text="Images Selected"/>
                                <h:inputTextarea binding="#{EC2LaunchInstance.ta_AMIsSelected}" cols="40" id="ta_AMIsSelected" rows="4"
                                    style="font-family: 'Courier New',Courier,monospace; font-size: 12px; width: 268px" valueChangeListener="#{EC2LaunchInstance.ta_AMIsSelected_processValueChange}"/>
                                <!-- <webuijsf:dropDown id="dropDown1" items="#{EC2LaunchInstance.dropDown1DefaultOptions.options}"/> -->
                            </h:panelGrid>
                            <h:panelGrid columns="2" id="gridPanel1" style="position: static">
                                <webuijsf:label id="l_AKI" text="Kernel ID:"/>
                                <webuijsf:dropDown binding="#{EC2LaunchInstance.ddl_AKI}" id="ddl_AKI" items="#{SessionBean1.ec2AKIOptions}" width="132"/>
                                <webuijsf:label id="l_ARI" text="RAM Disk ID:"/>
                                <webuijsf:dropDown binding="#{EC2LaunchInstance.ddl_ARI}" id="ddl_ARI" items="#{SessionBean1.ec2ARIOptions}" width="132"/>
                                <webuijsf:label for="ddl_AKI" id="l_InstanceType" text="Instance Type:"/>
                                <webuijsf:dropDown binding="#{EC2LaunchInstance.ddl_InstanceType}" id="ddl_InstanceType"
                                    items="#{EC2LaunchInstance.ddl_InstanceTypeDefaultOptions.options}"
                                    style="position: static; text-align: right; width: 132px" width="132"/>
                                <webuijsf:label id="label2" text="Availability Zone:"/>
                                <webuijsf:dropDown binding="#{EC2LaunchInstance.ddl_AvailabilityZone}" id="ddl_AvailabilityZone"
                                    items="#{SessionBean1.ec2AvailabilityZoneOptions}"
                                    onChange="webui.suntheme4_2.common.timeoutSubmitForm(this.form, 'layoutPanel1:gridPanel1:ddl_AvailabilityZone');"
                                    style="width: 132px" valueChangeListenerExpression="#{EC2LaunchInstance.ddl_AvailabilityZone_processValueChange}" width="132"/>
                                <webuijsf:label id="l_KeyPair" text="Key Pair:"/>
                                <webuijsf:dropDown binding="#{EC2LaunchInstance.ddl_KeyPairs}" id="ddl_KeyPairs"
                                    items="#{SessionBean1.keyPairNamesRegionOptions}" style="width: 132px" width="132"/>
                                <webuijsf:label id="label1" text="Number of Instances:"/>
                                <webuijsf:textField binding="#{EC2LaunchInstance.tf_InstanceCount}" columns="21" id="tf_InstanceCount" text="1"/>
                            </h:panelGrid>
                            <h:panelGrid columns="1" id="gridPanel4">
                                <webuijsf:label id="l_SecurityGroups" style="text-decoration: underline" text="Security Groups"/>
                                <webuijsf:addRemove availableItemsLabel="Available Groups" binding="#{EC2LaunchInstance.ari_SecurityGroups}"
                                    id="ari_SecurityGroups" items="#{SessionBean1.securityGroupsRegionOptions}" rows="8" selectAll="true"
                                    selectedItemsLabel="Launch in" sorted="true"/>
                            </h:panelGrid>
                            <h:panelGrid columns="2" id="gridPanel2" style="margin-top: 5px; position: static" width="210">
                                <webuijsf:label id="l_UserDataFile" text="User Data File:"/>
                                <webuijsf:upload binding="#{EC2LaunchInstance.fu_UserDataFile}" columns="30" id="fu_UserDataFile"/>
                                <webuijsf:button actionExpression="#{EC2LaunchInstance.launchInstances_action}" id="btn_LaunchInstances" text="Launch Instances"/>
                                <webuijsf:button actionExpression="#{EC2LaunchInstance.cancelBtn_action}" id="btn_Cancel" text="Cancel"/>
                            </h:panelGrid>
                        </webuijsf:panelLayout>
                        <div style="left: 0px; top: 0px; position: absolute; width: 100%">
                            <jsp:directive.include file="AWSManagerHeader.jspf"/>
                        </div>
                    </webuijsf:form>
                </webuijsf:body>
            </webuijsf:html>
        </webuijsf:page>
    </f:view>
</jsp:root>
